// 定义框架功能路由
import Doc from '../doc/layouts/Dashboard/Dashboard';
import Login from '../pages/login';
import Index from '../pages/index';
import NoMenu from '../pages/no_menu';

const dashboardRoutes = [
  {
    path: '/login',
    component: Login
  },
  {
    path: '/doc',
    component: Doc
  },
  {
    path: '/index',
    component: Index
  },
  {
    path: '/nomenu',
    component: NoMenu
  },
  { redirect: true, path: '/', to: '/index', navbarName: "Redirect" }
];

export default dashboardRoutes;
